<?php
namespace app\backend\model;

use think\Config;
use think\Db;
use think\Loader;
use think\Model;
use traits\model\SoftDelete;
use app\backend\org\Recursion;

class Qualification extends Model
{
    //部门查询列表
    protected $table = 'ls_qualification';
    public function getAll($p_id)
    {
        $data=$this
            ->field('qu_id,p_id,qualification_cn,qualification_en')
            ->where(["p_id"=>$p_id,"delete_time"=>["exp","is null"]])
           ->select();
        return $data;
    }

    use SoftDelete;
    static protected $deleteTime = 'delete_time';



}